home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / gdb-4.12 / sim / makefile.in < prev   
Encoding:
Makefile  |  1994-02-03  |  4.9 KB  |  248 lines

  1. #    Makefile template for Configure for the sim library.
  2. #    Copyright (C) 1993 Free Software Foundation, Inc.
  3. #    Written by Cygnus Support.
  4. # This file is part of BFD, the Binary File Descriptor library.
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  
  17. srcdir = .
  18. srcroot = $(srcdir)/..
  19. prefix = /usr/local
  20. program_transform_name =
  21.  
  22. exec_prefix = $(prefix)
  23. bindir = $(exec_prefix)/bin
  24. libdir = $(exec_prefix)/lib
  25.  
  26. datadir = $(prefix)/lib
  27. mandir = $(prefix)/man
  28. man1dir = $(mandir)/man1
  29. man2dir = $(mandir)/man2
  30. man3dir = $(mandir)/man3
  31. man4dir = $(mandir)/man4
  32. man5dir = $(mandir)/man5
  33. man6dir = $(mandir)/man6
  34. man7dir = $(mandir)/man7
  35. man8dir = $(mandir)/man8
  36. man9dir = $(mandir)/man9
  37. infodir = $(prefix)/info
  38. includedir = $(prefix)/include
  39. oldincludedir =
  40. docdir = doc
  41.  
  42. SHELL = /bin/sh
  43.  
  44. INSTALL = $${srcroot}/../install.sh -c
  45. INSTALL_PROGRAM = $(INSTALL)
  46. INSTALL_DATA = $(INSTALL)
  47. INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
  48. INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
  49.  
  50.  
  51. AR = ar
  52. AR_FLAGS = rc
  53. CFLAGS = -g
  54. BISON = bison
  55. MAKEINFO = makeinfo
  56. RANLIB = ranlib
  57.  
  58. MAKEOVERRIDES=
  59.  
  60. INCDIR = $(srcdir)/../include
  61. CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
  62. DEP = mkdep
  63.  
  64. SUBDIRS = " this is set by configire, don't change this "
  65.  
  66. ALL=all-nothing
  67. CLEAN=clean-nothing
  68. DO_INSTALL=install-nothing
  69.  
  70. #### host and target dependent Makefile fragments come in here.
  71. ###
  72.  
  73. FLAGS_TO_PASS = \
  74.     "prefix=$(prefix)" \
  75.     "exec_prefix=$(exec_prefix)" \
  76.     "against=$(against)" \
  77.     "AR=$(AR)" \
  78.     "AR_FLAGS=$(AR_FLAGS)" \
  79.     "CC=$(CC)" \
  80.     "CFLAGS=$(CFLAGS)" \
  81.     "RANLIB=$(RANLIB)" \
  82.     "MAKEINFO=$(MAKEINFO)" \
  83.     "INSTALL=$(INSTALL)" \
  84.     "INSTALL_DATA=$(INSTALL_DATA)" \
  85.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  86.     "BISON=$(BISON)"
  87.  
  88.  
  89. STAGESTUFF = $(TARGETLIB) $(OFILES)
  90.  
  91.  
  92. all:    $(ALL)
  93.  
  94. clean:  $(CLEAN)
  95.  
  96. install: $(DO_INSTALL)
  97.  
  98. mostlyclean: clean
  99.  
  100. distclean realclean: clean
  101.     rm -f Makefile config.status
  102.  
  103. info:
  104. install-info:
  105. dvi:
  106.  
  107. ### 
  108. ### 
  109.  
  110. .PHONY: check installcheck
  111. check:
  112. installcheck:
  113.  
  114. ### none
  115.  
  116. all-nothing: force
  117.     
  118. clean-nothing:  force
  119.  
  120. install-nothing: force
  121.  
  122.  
  123. ### z8k
  124.  
  125. all-z8k: force
  126.     @if [ -f ./z8k/Makefile ] ; then \
  127.         rootme=`pwd` ; export rootme ; \
  128.         ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
  129.     else \
  130.         true ; \
  131.     fi
  132.  
  133. install-z8k: force
  134.     @if [ -f ./z8k/Makefile ] ; then \
  135.         rootme=`pwd` ; export rootme ; \
  136.           srcroot=`cd $(srcdir); pwd`; export srcroot; \
  137.         ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
  138.     else \
  139.         true ; \
  140.     fi
  141.  
  142. clean-z8k: force
  143.     @if [ -f ./z8k/Makefile ] ; then \
  144.         rootme=`pwd` ; export rootme ; \
  145.         ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
  146.     else \
  147.         true ; \
  148.     fi
  149.  
  150.  
  151. ### h8300
  152.  
  153. all-h8300: force
  154.     @if [ -f ./h8300/Makefile ] ; then \
  155.         rootme=`pwd` ; export rootme ; \
  156.         ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
  157.     else \
  158.         true ; \
  159.     fi
  160.  
  161. install-h8300: force
  162.     @if [ -f ./h8300/Makefile ] ; then \
  163.         rootme=`pwd` ; export rootme ; \
  164.           srcroot=`cd $(srcdir); pwd`; export srcroot; \
  165.         ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
  166.     else \
  167.         true ; \
  168.     fi
  169.  
  170. clean-h8300: force
  171.     @if [ -f ./h8300/Makefile ] ; then \
  172.         rootme=`pwd` ; export rootme ; \
  173.         ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
  174.     else \
  175.         true ; \
  176.     fi
  177.  
  178. ###
  179.  
  180. ### h8500
  181.  
  182. all-h8500: force
  183.     @if [ -f ./h8500/Makefile ] ; then \
  184.         rootme=`pwd` ; export rootme ; \
  185.         ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
  186.     else \
  187.         true ; \
  188.     fi
  189.  
  190. install-h8500: force
  191.     @if [ -f ./h8500/Makefile ] ; then \
  192.         rootme=`pwd` ; export rootme ; \
  193.           srcroot=`cd $(srcdir); pwd`; export srcroot; \
  194.         ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
  195.     else \
  196.         true ; \
  197.     fi
  198.  
  199. clean-h8500: force
  200.     @if [ -f ./h8500/Makefile ] ; then \
  201.         rootme=`pwd` ; export rootme ; \
  202.         ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
  203.     else \
  204.         true ; \
  205.     fi
  206.  
  207. ###
  208.  
  209. ### sh
  210.  
  211. all-sh: force
  212.     @if [ -f ./sh/Makefile ] ; then \
  213.         rootme=`pwd` ; export rootme ; \
  214.         ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
  215.     else \
  216.         true ; \
  217.     fi
  218.  
  219. install-sh: force
  220.     @if [ -f ./sh/Makefile ] ; then \
  221.         rootme=`pwd` ; export rootme ; \
  222.         ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
  223.     else \
  224.         true ; \
  225.     fi
  226.  
  227. clean-sh: force
  228.     @if [ -f ./sh/Makefile ] ; then \
  229.         rootme=`pwd` ; export rootme ; \
  230.         ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
  231.     else \
  232.         true ; \
  233.     fi
  234.  
  235. ###
  236.  
  237. force:
  238.  
  239.  
  240. # with the gnu make, this is done automatically.
  241.  
  242. Makefile: $(srcdir)/Makefile.in $(target_makefile_frag)
  243.     $(SHELL) ./config.status
  244.